package com.example.demo.searcher;

//文档相关性类
public class Weight {
    private int docId;//文档Id
    private int weight;//文档与词 相关性权重

    public int getDocId() {
        return docId;
    }

    public void setDocId(int docId) {
        this.docId = docId;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }
}
